<?php

namespace app\modules\html;

use yii\filters\AccessControl;

/**
 * html module definition class
 */
class Module extends \yii\base\Module
{
    /**
     * {@inheritdoc}
     */
    public $controllerNamespace = 'app\modules\html\controllers';

    public function behaviors()
    {

        return [
            [
                "class" => 'app\models\AuthFilter',
                "except" => [
                    'index/register',
                    'index/login'
                ]
            ]
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function init()
    {
        parent::init();

        // custom initialization code goes here
    }
}
